package com.siyougame.business.controller.admin.inspect.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.*;

import java.time.LocalDate;
import java.util.*;
import io.swagger.annotations.*;
import org.springframework.format.annotation.DateTimeFormat;

import static com.siyougame.common.utils.DateUtils1.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 检查记录 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class InspectBaseVO {

    @ApiModelProperty(value = "${column.columnComment}", required = true)
    private Long id;

    @ApiModelProperty(value = "模板id", required = true)
    private Long tempId;
    /**
     * 检查标题
     */
    private String title;
    @ApiModelProperty(value = "检查名称", required = true)
    private String name;

    @ApiModelProperty(value = "船只", required = true)
    private String vessels;

    @ApiModelProperty(value = "检查时间", required = true)
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate inspectDay;

    @ApiModelProperty(value = "检查地点", required = true)
    private String address;

    @ApiModelProperty(value = "${column.columnComment}", required = true)
    private Long status;

    @ApiModelProperty(value = "备注", required = true)
    private String remark;

    @ApiModelProperty(value = "排序", required = true)
    private Long sortRank;

    @ApiModelProperty(value = "${column.columnComment}", required = true)
    private String description;

    @ApiModelProperty(value = "${column.columnComment}", required = true)
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date createTime;

    @ApiModelProperty(value = "${column.columnComment}", required = true)
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date updateTime;

    @ApiModelProperty(value = "创建人", required = true)
    private String creator;

    @ApiModelProperty(value = "修改人", required = true)
    private String updater;

    @ApiModelProperty(value = "客户端用户", required = true)
    private String xcxUserId;
    private String nickname;
    private String thirdDepartment;
    private String userName;
}
